package com.boge.provider.controller;

import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.servlet.http.HttpServletRequest;


@RestController
public class UserController {

    @GetMapping("/hello")
    public String hello(HttpServletRequest request){
        System.out.println(".......Nacos Provider run......."+request.getHeader("X-Request-red"));
        System.out.println(request.getParameter("red"));
        return "hello boge ...9100";
    }
}
